package com.lcy.web.service.base;

/**
 * Created by loucunyin on 2017/1/11 0011.
 */
public enum MyError {
    //Common Error
    success(1),
    // User Error
    ;
    private MyError(int code){
        mCode = code;
    }
    private int mCode;

    public int getCode() {
        return mCode;
    }

    public String getMsg(){
        return name();
    }
}
